package com.xbongbong.paas.service;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.form.pojo.FieldEsIndexPoJo;

import java.util.Map;

/**
 * @author 吴峰
 * @date 2022/04/22 16:06
 */
public interface FieldIndexService {

    /**
     * 获取字段的最大值和预留值
     * @param corpid
     * @param saasMark
     * @param businessType
     * @param formId
     * @return
     * @throws XbbException
     */
    Map<String, Map<String, FieldEsIndexPoJo>> getFieldIndexNum(String corpid, Integer saasMark, Integer businessType, Integer distributorMark, Long formId) throws XbbException;
}
